﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Net;

namespace Barbar.UrlGuard.Dal {
  [XmlInclude(typeof(AuthenticationWindowsIntegrated))]
  [XmlInclude(typeof(AuthenticationBasic))]
  public class AuthenticationBase : ICloneable {
    public virtual int AuthenticationTypeID {
      get { return AuthenticationType.None.AuthenticationTypeID; }
    }

    public virtual void SetWebRequest(WebRequest request) {
    }

    #region ICloneable Members

    public virtual object Clone() {
      return new AuthenticationBase();
    }

    #endregion
  }
}
